package cn.ffcs.unm.salary.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.unm.salary.dao.SalaryDao;
import cn.ffcs.unm.salary.manager.SalaryManager;
import cn.ffcs.unm.salary.model.SalaryChange;
import cn.ffcs.unm.salary.model.SalaryData;
import cn.ffcs.unm.salary.model.SalaryLevel;
import cn.ffcs.unm.salary.model.SalaryPay;
import cn.ffcs.unm.salary.model.SalaryPayProject;
import cn.ffcs.unm.salary.model.SalaryPeriod;
import cn.ffcs.unm.salary.model.SalaryPeriodScheme;
import cn.ffcs.unm.salary.model.SalarySeclv;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("salaryManager")
@Scope("prototype")
public class SalaryManagerImpl implements SalaryManager {

	@Resource
	private SalaryDao salaryDao;

	@Override
	public PageInfo queryPageInfoBySalaryPay(SalaryPay salaryPay, int currentPage, int pageSize) {
		return salaryDao.queryPageInfoBySalaryPay(salaryPay,currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoBySalaryPeriodScheme(SalaryPeriodScheme salaryPeriodScheme, int currentPage,
			int pageSize) {
		return salaryDao.queryPageInfoBySalaryPeriodScheme(salaryPeriodScheme, currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoBySalaryPeriod(SalaryPeriod salaryPeriod, int currentPage, int pageSize) {
		return salaryDao.queryPageInfoBySalaryPeriod(salaryPeriod, currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoBySalaryPayProject(
			SalaryPayProject salaryPayProject, int currentPage, int pageSize) {
		return salaryDao.queryPageInfoBySalaryPayProject(salaryPayProject, currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoBySalaryChange(SalaryChange salaryChange, int currentPage, int pageSize) {
		return salaryDao.queryPageInfoBySalaryChange(salaryChange, currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoBySalaryLevel(SalaryLevel salaryLevel, int currentPage, int pageSize) {
		return salaryDao.queryPageInfoBySalaryLevel(salaryLevel, currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoBySalarySeclv(SalarySeclv salarySeclv, int currentPage, int pageSize) {
		return salaryDao.queryPageInfoBySalarySeclv(salarySeclv, currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoBySalaryData(SalaryData salaryData, int currentPage, int pageSize) {
		return salaryDao.queryPageInfoBySalaryData(salaryData, currentPage, pageSize);
	}

}
